<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="__PUBLIC__/Admin/Css/public.css" />
	<script type="text/javascript" src="__PUBLIC__/Admin/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Admin/Js/public.js"></script>	
</head>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">后台用户列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle1">ID</td>
			<td>用户名</td>
			<td>最后登录时间</td>
			<td>最后登录IP</td>
			<td>帐号状态</td>
			<td>操作</td>
		</tr>
		<volist name='data' id='vo'>
			<tr>
				<td>{$vo.adid}</td>
				<td>{$vo.username}</td>
				<td>{$vo.logintime|date='Y-m-d H:i:s',###}</td>
				<td>{$vo.loginip}</td>
				<td>
					<if condition="$vo.lock eq 0 ">
						正常
					<else />	
						<a href="#" style="color: red;">已锁定</a>
					</if>
				</td>
				<if condition="$vo.username eq 'admin888'">
					<td>超级管理员不能进行操作</td>
				<else />	
					<td>
						<if condition="$vo.lock eq 0">
							<a href="{:U('Admin/lock',array('adid'=>$vo['adid']))}">锁定</a> 
						<else />
							<a href="{:U('Admin/unlock',array('adid'=>$vo['adid']))}">解锁</a> 
						</if>
						
						<a href="{:U('Admin/del',array('adid'=>$vo['adid']))}">删除</a>
					</td>
				</if>
				
			</tr>
		</volist>
	</table>

</body>
</html>